package thread.sleep.filemove;

import java.io.File;

public class MainThread {
	public static void main(String[] args) {

		File newDir = new File("c:\\day\\newDir");
		File newDir2 = new File("c:\\day\\newDir2");

		boolean newDirflag = newDir.exists();
		if (newDirflag == false) {
			newDir.mkdirs();
		}

		boolean newDir2flag = newDir2.exists();
		if (newDir2flag == false) {
			newDir2.mkdirs();
		}

		FileCreateThread fc = new FileCreateThread();
		FileMoveThread fm = new FileMoveThread();

		
		fc.start();
		fm.start();
	}
}
